<?php
use backend\utils\XHtml;

/* @var $this yii\web\View */
/* @var $model common\models\Message */

$this->title = '查看留言';
$this->params['breadcrumbs'][] = ['label' => '留言管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="page-create">
    <div class="box box-primary">
        <div class="box-body">

            <?= \yii\widgets\DetailView::widget([
                'model' => $model,
                'attributes' => [
                    ['attribute' => 'title', 'captionOptions' => ['width' => 100]],
                    'telephone',
                    'email',
                    'created_at:datetime',
                    'content:html',
                ],

            ]) ?>

            <h3 class="text-center">
                <?= XHtml::backButton() ?>
            </h3>
        </div>
    </div>
</div>